Often times when usernames and passwords are copied, extra blank spaces can be inadvertently copied and pasted as well which can lead to an "invalid password" . 

To troubleshoot this, after pasting the username and password, double check to make sure there are not any extra spaces before or after the password. You can also try manually typing the username and password instead of copying and pasting.