Use resource id for realm in resource server by default