Update lib/oauth_middleware.js