make auth module work in Canary