remove old credentials from file