Authentication - Enables session based authentication to the API

controllers.

Please review carefully since this deals with authentication.  This is a change such that I can begin to make changes to some API controllers to be used by UI components as part of Nutupane work.