v2.6.2: Enhances session management and adds dynamic expiration support
Introduces a callback for dynamic session expiration based on user identity and adds functionality to list active sessions, terminate specific sessions, and retrieve the current session ID. It also refactors token authentication to ensure the identity is loaded before calculating session expiration.