Rpc should handle other local apis too

The hardcoded check of ServiceDiscovery was blocking the Dashboard API.

Jira: WP-984