Fix must be logged in as user to log in as admin user bug