Optimized how redirect URLs were generated.

When the activation link is sent in the activation email, the URL was hard-coded. This has been updated to be dynamically built based on the information in the request.