WIP add OAuth2 mode to demo app