During the generation of test values I stumbled over this question
What is the true value of the complete elliptic integral of the 3rd kind $$I=\int_0^{\pi/2}\frac{dx}{(1-2\sin^2 x)\sqrt{1-4\sin^2 x}}?$$
This is a special case of the $\Pi$ integral (see e.g. https://dlmf.nist.gov/19.2.E7) and the Cauchy principal value has to be taken.
Here are my experiments with some well-known resources:
With Wolfram/Mathematica style elliptic integrals (using parameters) the value should be $$I=\Pi(2|4)=\mathtt{EllipticPi}[2,4] \approx -0.36396057469 - 0.53912891187i$$
With Maple style integrals (using modulus) it should be $$I=\Pi(2,2)=\mathtt{EllipticPi}(2,2) \approx 1.20683575210 - 0.53912891187 i$$ (Note that the imaginary parts are the same).
In order to resolve the different results, I asked Wolfram Alpha to evaluate the integral using
int(1/((1-2*sin(x)^2)*sqrt(1-4*sin(x)^2)), x=0..Pi/2) with 30 digits
as input and got the very disturbing different (!?) results
Computation result: 1.05574680871 - 3.53800841627 i
Decimal approximation: 1.11534422571 + 1.91703566486 i
Pari/GP 2.9.4 gives another numerical integration result
? intnum(x=0,Pi/2,1/((1-2*sin(x)^2)*sqrt(1-4*sin(x)^2)))
%1 = 1.046038054724273208736077496 + 4.797148009326248296 E27*I
Edit (May 2018): I did not expect an answer after two month, therefore I update the question. Since I am interested in the real part only, I meanwhile use the following formulas:
For $|k|>1, \nu \ne k^2$ the following formula (derived from http://functions.wolfram.com/08.06.04.0029.01 with $x=\pi/2$): $$ \Re \Pi(\nu,k) = \frac{1}{k}\; \Pi\left(\frac{\nu}{k^2} , \frac{1}{k}\right) - \Re \left(\frac{\pi}{2} \; \sqrt{\frac{\nu}{(\nu - 1)(k^2 - \nu)}}\;\;\right) $$ (the second term is zero for $k^2 < \nu$), and for $\nu=k^2 > 1$ the result is (c.f. http://functions.wolfram.com/08.03.03.0003.01): $$ \Pi(k^2,k)\ = \frac{E(k)}{1-k^2}\;\cdot $$


I don't think you can get a correct numerical estimate if you don't specify that you're computing the principal value.
Using the parameter notation, $$\operatorname{v.\!p.} \int_0^{\pi/2} \frac {dx} {(1 - n \sin^2 x) \sqrt {1 - m \sin^2 x}} = \\ \frac 1 {\sqrt m} \operatorname\Pi \left( \frac n m, \frac 1 m \right) + \frac i {(n - 1) \sqrt m} \left( \operatorname K \left( \frac {m - 1} m \right) - \operatorname\Pi \left( \frac {n - 1} n, \frac {m - 1} m \right) \right), \\ m > n > 1.$$ There is no ambiguity because the principal value is well-defined and the elliptic integrals on the rhs do not depend on the analytic continuation choice.