Implemented Session.login in setup.