HPCC-8729 - Improve workunit iterator efficiency

Delay creating workunit objects until needed
Also remove some odd unused workunit @scope authentication

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>