fix commandline error to handle renewal for 2 legged oauth