Adding access controls to solr query for collection documents. fixes #6573