Today, I faced one weird problem when I changed my O365 password.
This pop-up was appearing every few minutes after pressing the cancel button and it was throwing me to 404 URL after pressing the continue button which was completely irritating and frustrating.
After spending some time looking into this issue, I found a small trick.
1. Open the Safari browser and make it the default one.
2. Next time when this popup comes, press the Continue button.
That's it and the issue is resolved. :)
Thanks!! Enjoy Programming!! :)