Tweaking errors controller to load correct 500 page
Merge pull request #1309 from elzj/issue_3663_errors

Tweaking errors controller to load correct 500 page