Can't access on Teams after change domain password
Solution 1:
In my organisation, we have gotten around this by intentionally putting in an incorrect password to force the login to fail, which breaks the loop. Then, you can choose the option to log in by specifying an email address, and try again - it should work.