oauth cleanup