Add some oauth test helpers to the adapter and IAM