Add resetpassword command (fix #1172)

Built on add user command PR.  Merge that first.