enabling the use of cookies

If you have an authentication system that generates cookies this code change will allow you to pass the cookies to the jenkins_api_client so that http requests that the client makes will contain the cookie.