Throw an exception if we fail to get an access token.