Expected behavior
When not logged in, accessing the URL of a product that requires login should display the 403 template in the browser.
Actual behavior
The server is responding with 403, but the browser is displaying a 500 error.
Steps to reproduce behavior
When I access a product that requires login, on the production server this renders the 403 template page. On my localhost, the stencil server gives 403 in the terminal, but the browser reports 500 error. I'm trying to customize the 403 page, but can't access it in the browser.
Any insights on why this might be & how to remedy it?

Expected behavior
When not logged in, accessing the URL of a product that requires login should display the 403 template in the browser.
Actual behavior
The server is responding with 403, but the browser is displaying a 500 error.
Steps to reproduce behavior
When I access a product that requires login, on the production server this renders the 403 template page. On my localhost, the stencil server gives 403 in the terminal, but the browser reports 500 error. I'm trying to customize the 403 page, but can't access it in the browser.
Any insights on why this might be & how to remedy it?