ENGINE-673: Use the reactor to produce the redirect url when scanning.

- integration tests missing
Merge remote-tracking branch 'origin/master'