Handle authorization errors that require redirect