`AddCredential` needs to do a update host_creds set scan_interval=.. if the row was updated and not added.
AddCredentialneeds to do aif the row was updated and not added.