[HttpKernel] Fixed possible profiler token collision (closes #7272, closes #7171)