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.