fix pressing esc in login prompt logging you out, fix possible sign bug crash