Setup
Add an (optional) session argument to login()