What this PR does / why we need it:
When authentication failed, it would throw nil pointer panic causing PX to be stuck without knowing the exact error. This PR handles the error handling from auth failure.
Which issue(s) this PR fixes (optional)
PWX-24735
Special notes for your reviewer:
tested with local px cluster
Signed-off-by: dahuang dahuang@purestorage.com
What this PR does / why we need it: When authentication failed, it would throw nil pointer panic causing PX to be stuck without knowing the exact error. This PR handles the error handling from auth failure. Which issue(s) this PR fixes (optional) PWX-24735
Special notes for your reviewer: tested with local px cluster