Add oauth2 flows tests

done for AGIOS-261
@cvasilak mind to review?
let's use ``Config```  since Generic Oauth test case and propagate to all other test cases in this file