added Basic Authorization for replication