add support for http basic authentication to chronos-sync script