(no-ticket) ForceIPDNSAuthMiddleware moved and generalized

Change-Id: I84d83a2e4d63654fc0036bcc8cc0a47f300f0fd0
Merge "(no-ticket) ForceIPDNSAuthMiddleware moved and generalized"