[Fix bug 1000908] Fix user logout when profile gets deleted.

* Remove logout page and redirect to home instead.