allow custom form factories on registration

This allows to have multiple different registration form factories (e.g. based on user type to register).