[refresh-token] add refresh token endpoint

Refactor renew token stuff

Add jwt_get_user_id_from_payload_handler for custom user_id format