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