Get OAuth working, including a hack for Potlatch