[ENG-8195](https://linear.app/comm/issue/ENG-8195/implement-new-log-in-for-usernamepassword-users).
This is a generic hook, used for both password and wallet users.
Do all the steps without what's marked with a red line at the bottom (this is the Full Backup version, not ready yet):
{F3418796}
For the Signed Device Lists, we also need this part:
{F3418797}
It's tracked in [ENG-8200](https://linear.app/comm/issue/ENG-8200/implement-peer-signalling-as-a-part-of-full-restore-flow)
Depends on D14081