Make basic auth conditional on IP via a custom cherrypy tool

If the request originates from a whitelisted IP, do not prompt for
basic auth. This is beneficial for cron jobs coming from localhost.