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

fixes #3976