tests: Simplify to create IdentityManager with make_shared<MemoryIdentityStorage>().