Provide a way to enable basic auth for authenticating dev/check URL.

In live or test environments, you need to be logged in as an admin to
access dev/check, but that's not appropriate if you wish to use that
page for a service that automatically checks the health of a site.