fix session support for single user mode