Remove the credentials information only on success.