Use getpass to get password.