Use smart function to get correct link to PW so we land on correct page
Merge pull request #2 from pp-work/test-redirect-fix

Use smart function to get correct link to PW so we land on correct page