Indeed, I also was wondering about this password thing. When you just appear within Pedro's vision, you are given a choice of three passwords (assuming you already been to the cave and killed Vittorio).
Perhaps if your reputation is low enough you may get an opportunity to get this password from Tingalf? Don't know -- it's just a guess. But would be nice to hear from someone who may know the exact answer.