Catch redirects in authentication requests. Refs #21391.