Allow the Sync/OAuth flows to complete when a user completes password reset in the same browser.

Use localStorage as the cross-tab communication to shuttle unwrapBKey/keyFetchToken from the new tab to the old tab, with the help of a library called crosstab.