[refresh-token] add refresh token endpoint

typo

[refresh-token] Refactor renew token stuff, add jwt_get_user_id_from_payload_handler for custom user_id format

[refresh-token] add tests for refresh token feature

some more api checks