fix(rest): prevent change password form to be submitted by blank fields

closes #CAM-2577