update credentials. add cred_auth_history.