Fix ajax pre-filter to define the xhrFields for CORS support

This is the official (per the jQuery docs) and correct way to ensure cookies
are sent with cross-domain requests.