Added an addCookie function to the ServiceRequest
The default for the browser http client is now withCredentials