Fixes to the code review comments: removal of the protocol suffix setting; moving authority canonicalization to ADInstanceDiscovery class
Fixed build break in the test code; fixed intermittently failing cache persistence test.