Add a couple more identify() tests
Add functional tests for logging in and logging out