Your first formula is wrong. The correct version is:
$$ \int \operatorname{e}^{-\frac{1}{2} x^T \cdot A^{-1} x} \operatorname{d}^3 x = (2\pi)^{3/2} \sqrt{\operatorname{det}(A)}.$$
If $A$ is positive definite and symmetric, then you can diagonalize it into the form:
$$A = V^T \Lambda V,$$
where $V$ is the normalized matrix of $A$'s eigenvectors (an othogonal matrix) and $\Lambda$ is the matrix of the eigenvalues. Do a change of variables on the integral $x' = V x$, and the answer falls right out. The generalized $N$-dimensional version is:
$$ \int \operatorname{e}^{-\frac{1}{2} x^T \cdot A^{-1} x} \operatorname{d}^N x = (2\pi)^{N/2} \sqrt{\operatorname{det}(A)}.$$
Edit to add: the generalized integral provided is not of the same form as the simple 3-d case. The one with $A$ a rank 4 tensor and 4 factors of the $x$ vector in the exponent is, as far as I now, an unsolved problem, especially when there is also a term in the exponent with a different rank 2 $A$ and 2 factors the $x$ vector in it.