adapt recent koa-passport changes