The problem is that GenericIdentity is not a data class and has a lot of properties that you don't want persisted. In this case, you're going to want to map this manually. Below, I'm going to map the only two properties that actually matter, the Name and the AuthenticationType. I'm then going to tell the MongoDB driver to construct a GenericIdentity using the constructor that takes these two parameters.
BsonClassMap.RegisterClassMap<GenericIdentity>(cm =>
{
cm.MapProperty(c => c.Name);
cm.MapProperty(c => c.AuthenticationType);
cm.MapCreator(i => new GenericIdentity(i.Name, i.AuthenticationType));
});