Avoid spec in old browsers

Avoid spec in old browsers that don't support `withCredentials`
Merge pull request #2621 from SergioCrisostomo/fix-xhr-specs

Fix for Request.js specs