Removed last traces of urllib2 and fixed authentication if no access token is given