Cleanup on logout

Even if the logout operation fails
Merge branch 'master' of github.com:VisualitySoftware/BaasBox-iOS-SDK