Add usage credit check to web template

What does this MR do and why?

Connects !214525 (merged) with Backend service and fixes failed tests

This is last piece required for https://gitlab.com/gitlab-org/gitlab/-/issues/581064+s

The history if this MR: Initially integration between FE and BE was done in !214525 (merged) but due to test failures we decided to extract backend part to this MR.

Related slack thread: https://gitlab.slack.com/archives/C06LWENL58F/p1765380617717689

NOTE: this MR is blocker for Duo Agent Platform GA, please help it to land successfully in 18.7

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

References https://gitlab.com/gitlab-org/gitlab/-/work_items/583257+

Edited by Denys Mishunov

Merge request reports

Loading