Fix tests

Copy paste from cpa-auth-provider