Problem of the auto-submit

Hi, I have met a problem in one of the websites I use. The auto-submit feature may click the wrong button to submit the username and password.
For example, my school use powerschool (, while if I use the auto-submit feature in the websites, it is actually clicking the “Sign-in with Microsoft” instead of the “Sign In” button.