Do not sent a request to authenticate against the server when either the username or the password are empty