We run a number of different betas in our community within groups.
When you share a link to a private or hidden group and the user is not registered, they are prompted to register for the community, then are taken to the group but then have to first activate their account before they can join the group. This makes for an odd user experience.
Could this be just:
Link > Signup > Activate account > Add automatically to group (and let them know)