[lib][native][web] Introduce useWalletLogIn hook
Summary:
This addresses ENG-7680, ENG-7670, and ENG-7672.
This furthers the goal of the parent task, which is to move authoritative keyserver auth from KeyserverConnectionHandler to the individual components responsible for login.
Depends on D11767
Test Plan:
This whole stack was tested with the following steps:
- On native, attempting to log in with an ETH account that hasn’t been registered yet
- On native, attemping to register with an ETH account that has already been registered
- On native, log in with an ETH account that has already been registered
- On native, register with an ETH account that hasn’t already been registered
- On native, register with a password account
- On native, log in with a password account
- On web, attempting to log in with an ETH account that hasn’t been registered yet
- On web, log in with an ETH account that has already been registered
- On web, log in with a password account
Reviewers: tomek, inka
Reviewed By: inka
Differential Revision: https://phab.comm.dev/D11768