Add basic tests for session
Fix function call name
Merge branch 'master' into tests
Remove token when session closes
Test logging out with a session