Make remote history available under READ authorization. #3897
- Add a non-blocking concurrency-limit.
- Add a limit to the number of history ads scanned.
- If either limit is set to 0, then remote history is disabled.