It is a matter of configuration in their black box. I am using Librewolf and cannot login to Teams with that either. I have similar problem dropping links in Teams to URL's on my own server. MS blocks them, and I always have to tell people to copy the URL and paste it into a different browser such as Firefox.