Verify that ServiceWorkers may not be registered on unauthenticated origins.

This patch also serves to verify that https://codereview.chromium.org/529403002/
has the expected effect of resolving '*.test' hosts to 127.0.0.1.

BUG=410190

Review URL: https://codereview.chromium.org/533093002

git-svn-id: svn://svn.chromium.org/blink/trunk@181318 bbb929c8-8fbe-4397-9dbb-9b2b20218538