Clear your private data, close Firefox, open it back up, and login again. Make sure your password is correct before you save it.
You probably have the wrong password saved from the login screen you access first, but the right password saved on the second page.
Why is it that most of the time when I log into chess.com my first log in attempt fails but my second one is sucessesful? I'm using firefox and my username and password are "remembered".