Fix for https://github.com/jfromaniello/passport.socketio/issues/70