Issue IKTREDEL-12 by cableman: Added check that API key is allowed to access index