Build a FastAPI app with an in-memory user store and JWT-based authentication (HS256; separate secrets for access and refresh). Implement /auth/login (issues access and refresh tokens for existing users), /auth/refresh (renews access token with a valid refresh token), and GET /user (protected, returns user data); enforce 401 for invalid/expired tokens and 422 for malformed Authorization headers.