Fix echoing of password to stdout