Fix redirect issue

* Fixed issue where an anonymous user could enter a secure path in the navigation bar of the browser and would end up being redirected to the notPermittedRedirectPath instead of the unauthenticatedRedirectPath. This would land a user on the default secure page instead of the default anonymous page.