CLC-3215 Fix authentication path in isLoggedInRedirect

https://jira.ets.berkeley.edu/jira/browse/CLC-3215

Now if you log out and hit the backbutton, you'll be sent to CAS and then returned to the page you were aiming for.

QA PR to follow.