added the updating of the PKI if the repo has a CA and a Cert
added log message when log file fails to load
unit tests for cert based auth
unit test fixes
Merge pull request #391 from pulp/jconnor-missing-pki-update

Jconnor missing pki update