Progress towards self-test using DEPLOY_HOSTNAME.

Still can't run all tests against testing servers because the testing
accounts server would need to be configured to send email.