Issue:
fix(users): make id option in auth select

The id the request body of auth select should be option. It is because list will be empty for hyperswitch authentication method.

Resolution:
<think>
PR Context:
- Title: fix(user_auth_method): make id option in auth select
- Merged: 2024-07-04T16:03:51Z
- Files changed: 2 files
- Commits: 2 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
Make id option in auth select. If no id is passed the response should give totp token

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provi
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(user_auth_method): make id option in auth select (#5213)
Files to modify:


**crates/api_models/src/user.rs**
  Modify existing code

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