Fixes to IP white listing

This pull request fixes two issues with IP white listing:
 - backend health probe requests to LICENSE.txt are allowed through regardless of other limitations
 - allow_domains array is tested for length instead of presence to suppress unnecessary directives if no domains are set