Update OAuth.php

Avoid to use @ to hide the error on which "port" and path are not located in the array, instead of using @ is better to verify their existence inside the array