Change the authorizer to take in the request. This is needed for any type
of more advanced authorization, that requires headers.