I found this issue in my big project. And then I started new Django project from scratch, and reproduced the problem.
You can reproduce this bug:
1) start new Django project
2) create context processor that raises Http404
3) set Debug=False
4) create custom '404.html' template
And then you get Server Error Page, instead of 404 page