Extract authentication cookie from xmlrpclib to use in HTTP request

I want to extract the cookie from the xmlrpclib proxy server to then use in an http request. The server API requires you to login with xmlrpclib, but all the endpoints to hit are HTTP endpoints. How can I extract the authentication header to then attach to an HTTP request?

s = xmlrpclib.ServerProxy("${SERVER_URL}")
s.auth.login_password('${USERNAME}', '${PASSWORD}')

# Attach the xmlrpclib cookie to this request
content = requests.patch("${HTTP_ENDPOINT}")