Redirect to login page from email links