fix for 'autologin' logic when user uses sms-auth mode