Check standalone header when pinging a registry server.

Standalone has to be true to use basic auth (in addition to previous requirements)

Fixes https://github.com/dotcloud/docker-index/issues/236