fixed some issues with https://github.com/CrowdProcess/crp-auth-client/pull/2