security: MemoryIdentityStorage: Implement key and certificate stores.
tests: need to insert the test certificate so that sign will work.