Wire the `SessionManager`, which {T427481} modified to communicate necessary OpenAPI information, into `ModuleSpecHandler`. Update the specification generator to build the global `components.securitySchemes` object and dynamically compute route-level security requirements based on whether an endpoint needs read/write access.
=Conditions of Acceptance=
[ ] Updated `ModuleSpecHandler::getComponentsSpec()` to include `securitySchemes`. Reference: https://docs.google.com/document/d/1fQvy_Y7AIW4H-aa3HbDVqJK0Yz9ONVZynLbLcjQNKN8/edit?tab=t.0#heading=h.lbqh3abg16ub
[ ] Updated the constructor of `ModuleSpecHandler.php` to inject `SessionManagerInterface`.
[ ] Registered the `SessionManager` service in `specs.v0.json` for `ModuleSpecHandler`.
[ ] Updated any `ModuleSpecHandler` tests that need a mocked or real `SessionManagerInterface` to be passed.
[ ] Updated `ModuleSpecHandler::getRouteSpec()` to inject a `security` array with the correct information into every OpenAPI operation object, for every path. References: https://docs.google.com/document/d/1fQvy_Y7AIW4H-aa3HbDVqJK0Yz9ONVZynLbLcjQNKN8/edit?tab=t.0#heading=h.r81lxihffxjg , https://docs.google.com/document/d/1fQvy_Y7AIW4H-aa3HbDVqJK0Yz9ONVZynLbLcjQNKN8/edit?tab=t.0#heading=h.6vbsm3r55frn
[ ] Expanded integration tests in `ModuleSpecHandlerTest.php` to verify correct structure of security outputs.
=References=
- Parent task: {T422484}.
- To do after {T427481}.