[native] update Secondary Device Auth flow to support SIWE users
Summary:
ENG-6145.
- Turn functions into a hook
- Update SecondaryDeviceQRCodeScanner to fetch credentials for both username/wallet users
- Clean some code
Depends on D13846
Test Plan: Tested in D13849
Reviewers: varun, bartek
Reviewed By: varun, bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D13847