Renamed ErrorCodeException to HttpCodeException. Now using the  property for the HTTP code. Added AuthenticatedRouterTestCase.