Fix #2097 Close login screen after incorrect login attempt