Read data from stdin in changepassword.

Depends on  #2304.