add auth lib support: lua-resty-template, router.lua