Ensure that the analysis type matches the one in the scoped key.

The cache server now checks that the analysis type specified in the Keen API path matches the one set by the scoped key.