Add xhrFields parameter to $http config object.