Line editing for password prompts.