Don't echo password

It's a good convention to disable terminal echo when passwords are
entered. Support this by adding a secondary prompt function that wraps a
regular prompt function where echoing is first disabled and then
restored.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>