Update OAuth2.php

$inputData['client_id'] isset do not use Basic Authentication