Ensure client reconnects if an error occurs during authentication (#35629)

In #35471, we added a new `AuthenticationError` variant to the client
enum `Status`, but the reconnection logic was ignoring it when
determining whether to reconnect.

This pull request fixes that regression and introduces test coverage for
this case.

Release Notes:

- N/A
efba4364fdAntonio Scandurra committed on 8/5/2025, 9:33:33 AM· committed by GitHubparent6c83a3b
1 file changedLine totals unavailable