add sentry_domain to allowed_hosts when they are present