TypeError: this.authenticate bukan fungsi

I believe you've missed a pair of parenthesis on passport.session method call.

Try app.use(passport.session());
Udituk