Accept cookies when using Cors

Setting XHR.withCredentials = true; is needed so browser will accept cookie from cross domain request

Follow up on closed PR https://github.com/ezsystems/ez-js-rest-client/pull/49