Make sure that autologin does not prevent logout