Removed commented code.
Changed password change to use the new credential endpoint.