s4: Correct the parameter logic of the "setpassword" script