REST /pools tweaks to support NS js login.