add xhrFields options to auth annd pipe rest adapters to deal with CORS and c...

...ookies