some oauth cleanup