Use getpass to get user password.