Allow the sync flow to complete when a user completes password reset in the same browser.

Use localStorage as the cross-tab communication mechanism.