add 401 check
Merge branch 'develop' of https://github.com/ebu/cpa-service-provider into develop

Conflicts:
	test/lib/resource-test.js