I use temporary-containers on firefox and they are a marvel for working with microsoft's stuff, which absolutely doesn't anticipate two accounts working on one browser.

Of course "open in incognito mode" works for this as well, just less automatic.