Based on a suggestion from Athaclena, I've added some redirection to the "add to favorites" and "add a review" links.
Here's how it works:
1. You're viewing a module but not logged in yet.
2. You click on "add to favorites" or "add a review"
3. You log in (or create a new account).
4. You're redirected back to the module you were viewing.
The new behavior happens at step 4. Previously you would get sent back to the front page after logging in, losing your place. Clicking the back button didn't help because you'd just get the not-logged-in version again.
Now you're automatically redirected back to the page you were using, complete with fully functional "add" buttons. This should make logging in a little more convenient.