Add xhrFields options to Authentication and Pipeline rest adapters to handle CORS and cookies