fix can't config passport#initialize in middleware.json

support passport#initialize and passport#authenticate

Signed-off-by: Clark Wang <clark.wangs@gmail.com>