Realm for API key authentication.
Overrides normal dispatch chain to introduce API-key authentication
for all endpoints.
Introduce an error endpoint to detach to in case of errors.