Move local passport authentication to express custom middleware