Display username in logs when a failed attempt is made.

When a user fails to login, as long as the authentication is not null it should display the username that was trying to login.