Better password prompt implementation