[backport-1.4]: fix test_rancher_sso.py to manage both Rancher and Rancher Prime
Issue
#2569 (closed)
needs to be backported to 1.4.x