cache credentials fix