SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host the collection (backport from branch_5x for 5.3.2 release)