fixed #66
Fixed a NPE when tring to logout without a valid sFixed a NPE when tring
to logout without a valid session tokenession token