- Add notifyAuthChange() call after successful token validation in setAuthFromToken - Fetch user profile during login to obtain canonical username instead of using raw input - Update both authData and currentUser objects with resolved username from profile API - Handle profile fetch failure gracefully by falling back to provided username