Adds authentication information to the request. This method will be executed before creating and sending the
request. Implementations will usually add some authentication header, but there is no restriction on this.
muleEvent - The event that is being processed.
builder - The builder that is being used to create the HTTP request.
Detects if there was an authentication failure in the response. After sending an HTTP request and creating an
event with the response, this method will be executed. If it returns false, the flow continues executing. If
it returns true, the requester will try to send the request again.
firstAttemptResponseEvent - The event with the response of the request.
True if the request should be sent again, false otherwise.