Fix broken credentials in pdf.py