Fixed typo in _validateOAuth function