Only store a new credentials when refreshed.