Issue:
[FEATURE] Authentication Analytics

### Feature Description

Authentication analytics becomes one of the important components to track separate authentication system health and impact.

### Possible Implementation

Added authentication events in SDK logs and pushed to /logs/sdk (Clickhouse)
Generate aggregate queries over clickhouse.

### Have you spent some time checking if this feature request has been raised before?

- [X] I checked and didn't find a similar issue

### Have you read the Contributing Guidelines?

- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Resolution:
<think>
PR Context:
- Title: feat: authentication analytics 
- Merged: 2024-05-23T10:27:10Z
- Files changed: 10 files
- Commits: 2 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
Modified authentication analytics queries to query api_events


### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files 
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat: authentication analytics  (#4684)
Files to modify:


**crates/analytics/src/auth_events/accumulator.rs**
  Modify existing code

**crates/analytics/src/auth_events/core.rs**
  Modify existing code

**crates/analytics/src/auth_events/metrics.rs**
  Add:
    - mod: private::frictionless_success_count

**crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs**
  Modify existing code

**crates/analytics/src/auth_events/metrics/challenge_success_count.rs**
  Modify existing code

**crates/analytics/src/auth_events/metrics/frictionless_success_count.rs**
  Add:
    - function: private::load_metrics
    - struct: pub::FrictionlessSuccessCount
    - impl: impl super::AuthEventMetric<T> for FrictionlessSuccessCount

**crates/analytics/src/clickhouse.rs**
  Modify existing code

**crates/analytics/src/sqlx.rs**
  Modify existing code

**crates/analytics/src/types.rs**
  Modify existing code

**crates/api_models/src/analytics/auth_events.rs**
  Add:
    - struct: pub::FrictionlessSuccessCount