Replace authorize() with isAuthorized()

This can only be merged when the pull request for the core is merged.
Merge pull request #9 from guytarded/master

Replace authorize() with isAuthorized()