CSRF cookie support for JS libraries that use it like AngularJS.