v2.4.3: Refactors onetime token handling in authentication
Simplifies the onetime token authentication flow by ensuring the token is available throughout the process, improving code readability and maintainability. This ensures the identity is correctly associated with the onetime token.