CDN health check once again mimics the instance health check.

Also added a test to assert this.
Merge pull request #5209 from guardian/quick-fix

CDN health check once again mimics the instance health check.