Clear session on log off

Fixes #220