Fixes CRM-10120 for 4.3.

Permits API key authentication when $params['name'] is set.