checking for $token before setting $this->token in getRequestToken in case of request failure