Fixed Collection access in Oauth Plugin

A Collection was being accessed with a built-in array function.
Merge pull request #383 from squirly/patch-1

Fixed Collection access in Oauth Plugin