create_affiliate_credential now works with ensure_id and on an affiliate...

... object