middleware for restify to enable full compatibility of the connect/express authentication middleware passport