I had the same issue. Found out that WinSCP does not like control characters at the end of the password so I changed the password and it worked.
WinSCP should have no problem with any character in a password.
Isn't it rather that your password contained characters that have a special meaning in PowerShell? Like a dollar sign or a backtick?