Replace editline and readline with getpass.