Restrict access to command and read model APIs.
Check whether authentication exception message is available.
Restrict access to everything, as everything is an API.
Merge pull request #11 from SURFnet/feature/restrict-api-access

Restrict access to command and read model APIs