Cache Certificates in SecurityCreds

Instead of loading the files when the SSL connection is initiated, cache the credentials in the `SecurityCreds` object to speed up integration tests.  Also convert the class to work more like a dictionary. 
If this doesn't need to change for each instance, it could be a module-level constant.