Sessions hook for the Sails framework.