Fixed issue if api key/secret is not valid.

Added new check when getting request token to avoid php warnings when api key/secret is not valid.