[HttpKernel] fixed the Kernel when the ClassLoader component is not available (closes #7406)