Cause: The role may have SAML Single Sign-on permission enabled.
Solution: Disable the SAML Single Sign-on permission in the role. Edit the role, go to Permissions > Setup, and adjust the permission level to None for SAML Single Sign-on: Full -> None.