Update credential in edit form when left unchanged
Related to #355