Fix right username with wrong password was accepted.

Fix right username with wrong password was accepted.