Allow custom session handlers to work correctly (and be defined at the application...