make oauth flow more flexible to override
Merge pull request #69 from box/oauthui

make oauth flow more flexible to override