Revert "Set password option(-P) was broken. Fixed."
The last patch wasn't needed.
This reverts commit a2801b0eb74ff2db6d062e9323e85b768da3cc70.
Set password option now works correctly.