Problem
As in title, accessing /settings while not logged in will display page errors instead of being redirected to login or home page.
This is just an example endpoint I find, and more comprehensive testing on other pages that require authentication to access should also be tested.
Screenshot
