That question will almost certainly need to be rewritten, but at the moment I don't have the language to write it well (sorry).
We have a restricted item (asset, in this case) that successfully triggers the login form and then redirects the viewer to the restricted item after login.
What about if the viewer is not registered yet? We have a working registration form set up and auto-activation enabled. How can the referring restricted item be passed from the login form to the registration form and then have that restricted item shown immediately after registering?