Update server.js

Update authorize api call to reflect change in authorize middleware (#47)
Update server.test.js

Authorization middleware wrapper receives 3 params: options, validate and immediate
Merge pull request #65 from noamcb/master

Update server.js