mem-cred: Add a method to unify certificate references, without adding it