Avoid duplicate certificates in mem_cred_t.