[TECHNICAL-SUPPORT] LPS-37461 bug on login

@topolik you may want to have a look at this