fixed redirect on client provisioning for tests