Sign in with Matrix ID does not work with SSO
Describe the bug It is not possible to log into an Account that uses SSO (disabled password login) when using the "Sign in with Matrix ID" feature.
To Reproduce Steps to reproduce the behavior:
- Click on "Sign in with Matrix ID"
- Enter a Matrix ID (of an SSO-enabled server)
- Enter a Password
- See error: "Password login has been disabled."
Expected behavior Element should recognize, that the server uses SSO (SAML in this case) and forward the user to the SSO login. This works if you enter the server address at "Connect to a custom server".
Screenshots

Smartphone: Tested on multiple devices.
Additional context
- 1.0.6 from F-Droid
Sign in with Matrix Id is only supported for password-based account. We may improve the flow when the app detect that the homeserver expect a SSO login.
We should maybe split the form and first ask for the matrixID, then if this is a password account type ask for the password and for SSO follow the regular SSO flow
Sign in with Matrix Id is only supported for password-based account.
In element-web you can enter a MXID in the "Username"-field, SSO support of the HS is discovered and you are forwarded to the login page.
This will be fixed by #3188
#3188 has been merged, but the new flow is not enabled, so this is why the issue is still there.
Why is the fix not enabled?
As of 1.4.16 (or maybe slightly earlier) SSO with OAuth2 works for me in Element for Android. The "Sign in with Keycloak" option didn't appear when I tried it a month or so ago, so I think it must have been merged recently.