Fixed http errors going to the wrong error controller, add log4net logging