Partially revert 5f34708eb77

Don't want to push these modifications :)
Use xhrFields withCredentials for all queries.