Fixes client auth issues.