fixes #4704
Merge pull request #4705 from dotCMS/issue-4704-front-end-logout-should-destroy-session

fixes #4704