prefer uid over relative_url

Also remove copy pasted comments
erp5_credential: fix wrongly configured properties