Feature/oauth2 provider testing

@scotdalton There is still a long way to go before this is merge ready, but I thought I'd put it on your radar.