Include credential_id in T1.

All in accordance with the VCCS README.
PEP-8 and assorted pycharm inspection fixes