This is a common issue caused by keyboard layout differences between VNC and other remote access protocols.
The VNC console always uses a US keyboard layout, regardless of what keyboard layout is configured on your local machine. RDP and SSH, on the other hand, respect your local keyboard settings.
If you set a password using VNC and your local keyboard layout differs from the US layout, certain characters may be mapped to different keys. This means the password you typed in VNC might not produce the same characters when you type it in RDP or SSH.
To fix this, either set a password that uses only characters common to all keyboard layouts (letters, numbers, and basic punctuation), or reset your password while connected through RDP or SSH directly.