It strikes me that having any association between registering people as voters and registering them as party supporters is just inviting trouble.
And so is having a system where party elections are a matter for governments rather than for the parties themselves.