Support for new EasyAuth

Array support added
Merge pull request #4 from dockyard/bc-convert-to-support-arrays

Support for new EasyAuth