Fix Dogtag plugin and tests to match current secret_store API

Change-Id: I5c16237b222798655afd623b46cc410313432e61
Merge "Fix Dogtag plugin and tests to match current secret_store API"