Clear session after logout

Fixes https://github.com/owncloud/core/issues/8420
Merge pull request #11864 from owncloud/clear-session-after-logout

Clear session after logout