It appears that this was broken at the same time as Error page appears repeatedly after you try accessing a private page.
I believe I have a clean fix by placing the logic into the exception
controller, which will allow future additions to detailed_404
to happen much smoother, if we ever decide to do so.