Fix login function to work with default sails

The default Sails authSession policy looks for
req.session.authenticated.  Added this session property in the login
success callback so it will work out of the box with default Sails.

Those who want a little fancier authorization verification can edit the
default Sails policy themselves.