Fixed passwordModify method in order to update a password to be hased