IA-943:Fix: Token extraction bug causing login failure
Problem
Login was failing with "Token non trouvé dans la réponse" despite the API returning a valid token.
Root Cause
In auth/context/action.ts, accessToken was aliased as token during destructuring but the rest of the function still referenced accessToken (undefined). Additionally, refreshToken was never destructured from the response.
Changes
- Fixed destructuring of
accessToken(removed incorrecttokenalias) - Added
refreshTokento the destructured response fields