Hi, it took me half a day to come up with a way to go about this.
I have a solution in coffee script: http://hackerpreneurialism.com/post/48344246498/node-js-testing-mocking-authenticated-passport-js
If you'd like me to write it in javascript and submit the "mock-passport-middleware" class as a pull request let me know.