Improve signature checking on some federation APIs.