Fixed ajax call bug, which prevented users from changing their password.

This is just a minor bug fix that allows users to change their account passwords.