Update module for new style deployments
Only handle OAuth callbacks to /oauth2callback (fixes #13)
Change from code review (refactor rootURI)