Ensure the rp name is specified even if no siteName is specified for check_registration and verify_primary_user.

fixes #3976
Merge pull request #3977 from shane-tomlinson/train-2013.10.09-hotfix-3976-undefined-sitename

Train 2013.10.09 hotfix 3976 undefined sitename