Fix the RP name showing up as undefined when a primary upgrades.

fixes #3621
Merge pull request #3622 from mozilla/issue_3621-idp-upgrade

Fix the RP name showing up as undefined when a primary upgrades.