add support for http basic authentication to chronos-sync script

Currently the chronos-sync.rb script does not work if HTTP basic authentication is enabled on Chronos (via http_credentials argument).  Just adding support for it.