Avoid crash when trying to logout a not authenticated user.
Merge pull request #5 from melmothx/master

Avoid crash when trying to logout an anonymous user.