Fixed changePassword() issue.

Fixed the issue where changePassword() would not change the password after the first attempt was succesful.

The initial fix was to remove the password validation, which validated whether the encrypted passwords were the same or not. However, this was pointless because it did not verify that the user was changing the password to one different than the current password. The final fix accomplishes all the desired tasks and works relatively well, with some latency.