[lib] Don't run InitialStateSharingHandler while logged out
Summary:
This addresses ENG-9372.
The log spam is occurring because of the getAuthMetadata call here. We can avoid it by only calling getAuthMetadata while logged in.
Test Plan: Confirm that the log spam no longer appears while logged out
Reviewers: tomek, kamil
Reviewed By: kamil
Differential Revision: https://phab.comm.dev/D13458