Add spec to verify login and logout management of the user data in the SecurityContext