session: only get login context after a successful login