client: autoreconnect if login fail