Fix some authentication client issues.