[FIX] Fixes bug in client after unsuccessful login attempt