Prevent reset-password prompts from echoing sensitive input and add regression coverage for terminal output.