Check for null user while testing failed login.