Fix issues with the signedIn state not persistent