Remove debug logging in oauth client and replace with exceptions