I've been trying to set protected content set up,

I've been trying to set protected content set up, and I thought that previously when you go to a page that's protect and then login, that it would redirect to the page you want, but I feel like, perhaps since the last update, that it isn't working.

For example:
Try to go to: http://501partners.com/resource/
Then they go to http://501partners.com/protected-content/?redirect_to=http://501partners.com/resource/
Then when you login it stays on http://501partners.com/protected-content/?redirect_to=http://501partners.com/resource/ instead of going to http://501partners.com/resource/

I tried to look through some of the questions about it and follow the suggestions to make updates to the functions.php file, and it doesn't work.

Thanks!

Caroline