added handling for 404 - page not found error to stop leaks for system configuration/user credential

Also blocked all leaks to http return page when error occurs