oauth clear option, some cleanup