I use my gmail account to login to YouTube. The password had a percent (%) character. When I tried uploading a video to YouTube the login page kept giving me an "Invalid username or password" error. I found that when I removed the % character, I was able to login to upload the video.