Broken images in pipelines security tab's empty states
When visiting a pipeline's security tab as an unauthenticated or unauthorized user, the empty states illustrations are broken:
imagePath, instead of the Ruby helper
image_path which seems to be responsible for adding the content hash to image URLs, required to retrieve assets from the CDN.
Let's move the assets URLs' generation to the backend.
This is a follow-up to #33918 (closed)
We have another issue to discuss the Js
imagePath helper: #206958