Added Session class and added tests for Authenticator and Session.