Williams credits teammate for Auburn turnaround