membership protected content access redirects after login

In the Membership plugin I have configured users to be redirected to the login page when they try to access a page that is specified as protected content. The user is brought to the login page and can authenticate. Once authenticated how can i redirect them to the original link (of protected content) that they were trying to access?

my users are accessing the pages from links in emails but they do not get directed to where they are trying to go after logging in.