how do i authenticate a urllib2 script in order to access https web services from a django site?,"req.add_header('Referer', login_url)"