PromptPassword now traps Ctrl-C and restores the original terminal state