fix: realm, and hence service session not yet available in onOpen