Explicitly add permissions to `session` in unittests
Merge pull request #458 from reciprocity/feature/fix-unittests

Explicitly add permissions to `session` in unittests