CSRF hook for the Sails framework.