Prevent error on login with inexistent user

When logging in with a username that is not in the db, don't raise an
error, but return to the login form.