fix for redirect when clicking on acceptance link in email