Gdata gem authentication issue

I do:

client = GData::Client::DocList.new
client.clientlogin(‘[email protected]’, ‘password’)

I can do client.inspect and see the token. When I do:

feed =
client.get(‘http://gdata.youtube.com/feeds/api/users/default/uploads’).to_xml

I get token not found error:

HEAD>

Token invalid

Token invalid

Error 401