Fix API resource path construction.
Merge pull request #18 from SURFnet/bugfix/api-resource-path-construction

Fix API resource path construction