It wasn't possible to create claims as a portal user when the portal user had a parent_id
bzr revid: abo@openerp.com-20120509161108-9e9cm9fu658elvb3