Not sure if this is what you are running into, but if you have any "special" characters in your username or password, they need to be encoded.
If the character isn't a letter, a digit, a hyphen, an underline, a period or a tilde, it needs to be encoded.
This web site can help you figure out...