added support for different credentials between destination servers for attachments and transactions, changed credentials field name