Fixed password match checking.