IAPManager.isLoggedIn was `currentSession != null`, so the anonymous
session the support chat creates switched off the local (RevenueCat)
entitlement path: store-bought Pro users who never signed in lost Pro as
soon as they opened the chat.
isLoggedIn now uses hasAccount(). Related anonymous-session leaks:
- The auth listener no longer logs RevenueCat in as the anonymous user
(and no longer runs sync-subscriptions for it). A pure
revenueCatLogin() decides; it also syncs when an anonymous session
becomes an account by linking (same id, userUpdated event).
- The Windows post-login checkout resume only runs for a real account.
- RevenueCatService: no anonymous appUserID at configure time, no
bikecontrol_user attribute for it, and _syncRevenueCatUser leaves the
RevenueCat identity alone for an anonymous session.
- WindowsStripeService.isLoggedIn uses hasAccount, so Stripe checkout /
portal gate behind sign-in instead of running under the anonymous user.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>