Manage empty username when login

Do not close login form when username is blank or empty