Test updating user password through api