Added Session class to mock and Current user test
Make sure session is referred by reference
Added environment singleton and refactor current user class to use it to get
server variables
Added logins fixture and test for user logged in
Added cookie class and test login from cookie
Fix app tests