Added password change support

Created a function in both server and client scripts to handle support
for changing passwords. Should probably have a check for the previous
password, but didn't implement because I wasn't sure if we wanted to
require a login first, or have it be one step