Fixed the user-sessions unit tests.