Transparent authentication caused non-HTML views to fail