Destroy the session after a test

This can help with one hard-to-find bug in tests.

Steps to reproduce will be provided.
Since it looks very "wrong" please add a comment explaining why it's there. When it's done I'll merge pull request. Thanks!