log the old credentials for easier debugging