Part of [ENG-10477](https://linear.app/comm/issue/ENG-10477/implement-shared-function-to-execute-restore)
To be able to restore in [here](https://github.com/CommE2E/comm/blob/8f7ba569bfd4d53201c4678212e5d96bde3be249/lib/components/secondary-device-qr-auth-context-provider.react.js#L205), we need to get auth metadata. We can't just call `getAuthMetadata` because we need to wait for re-render to make sure the store is populated.
We can:
1. Update `performLogIn` to return CSAT and `userID`
2. Implement some waiting logic to execute restore after store is populated with auth metadata, but this is complicated, and we need to deal with many race conditions.
I implemented option 1.
Depends on D14520