we need to register only the securedSearchRepository to avoid an exception when doing a BCC deployment