fix a bug where the credentials are not submitted if the are unchanged