Issue 50462 - Fix CI tests
Description: Explicitly changed strings to bytes in upgrade-script(tools.py)
Also Added ds_version check in order it won't break in 1.4.
Added a new replication agreement, and a replication manager. Replication is not
working with service accounts.
Reviewed by: Firstyear, vashirov (Thanks!)