Issue:
feat(authn): Use cookies for authentication

Currently we use auth headers and local storage in FE for transfer JWT from FE to BE.

Cookies is a better way to do this, as it is handled by browser and JavaScript doesn't have access to.

First we will test this in Integ and slowly move it to sandbox and production.

Resolution:
<think>
PR Context:
- Title: refactor(authn): Enable cookies in Integ
- Merged: 2024-11-26T12:42:14Z
- Files changed: 11 files
- Commits: 7 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
This PR will add logging for cookies and also make signout API accessible by any SPT.

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies application configur
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** refactor(authn): Enable cookies in Integ (#6599)
Files to modify:


**crates/router/src/configs/settings.rs**
  Modify existing code

**crates/router/src/core/user.rs**
  Modify existing code

**crates/router/src/routes/user.rs**
  Modify existing code

**crates/router/src/services/authentication.rs**
  Add:
    - function: private::authenticate_and_fetch
    - struct: pub::AnyPurposeOrLoginTokenAuth
    - impl: impl AuthenticateAndFetch<UserIdFromAuth, A> for AnyPurposeOrLoginTokenAuth