Fix tests

Copy paste from cpa-auth-provider
Merge branch 'develop' into refactor_protected_resource_handler