fixed autologin verification