Fixed a bug finding the current logged in user

Fixed a bug when trying to set the currently logged in user in the base application controller after changing the use of the user_id in a session to a cookie with an auth_token.