simplified oauth implementation in python