HPCC-11562 queries-copy from local dali fails when authentication enabled

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5975 from afishbeck/localCopyQueryUserCredentials

HPCC-11562 queries-copy from local dali fails when authentication enabled

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>