Generates a JWT access token for the user (24-hour expiry).
User id to encode in the JWT payload.
Signed JWT string.
Generates a JWT access token for the user (24-hour expiry).