Fix if login fail, disable CTRL+D while login