Handle null httpContext.ApplicationServices