Added `hardRedirects` to login/logout pages.