Fix logout, so COOKIE and DB entry get deleted. Also session invalidated.
Merge pull request #227 from SEEG-Oxford/logout-fix

Fix logout