his tea arrived just as dennis was discovering that the computer wanted some kind of code before granting him access , and he was grateful to see that the beverage had been accompanied by a small card with a password on it .