A fix to cookies with python-requests.