Handling server lock bug. Logouts user when the account is locked.