This is a side effect of the transition, this will be removed when user mapping will be done.

See : https://github.com/alchemy-fr/Phraseanet/pull/590/files#L22R290

When a FtpCredential entity is associated to a new User the userId is not known yet.