Fixed sushil's code for hashed password.