Add tests for raw_http_request to check that the authenticator gets
called and that the correct headers are passed to send_http_request