Upgrade Flexiauth to be compatible with CI3