Investment dashboard: JWT user resolution + controller/test alignment
What this MR changes
- Enables dashboard endpoints to resolve investor identity directly from JWT bearer tokens.
- Passes
Authorizationheader from controller layer into the dashboard user resolver. - Preserves local/test developer workflow through
userIdquery parameter fallback.
Why
- Removes dependency on explicit
userIdquery params in authenticated flows. - Aligns dashboard behavior with project-wide JWT-based authentication.
- Improves reliability across gateway and frontend integration paths.
Validation
- Added/updated unit tests for resolver and dashboard controller.
- Verified targeted tests pass successfully.