Government sites do this to me more frequently than any other site. The worst part is that I use a password manager so I know for certain it’s the correct password.
They probably have a character limit they don’t tell you about. They accept the password when you make it, but they also chopped of last 10 digits.