fix NPE for private session
[2668]NPE in adminSessions

fixes #2668