Class Field Theory and primes of the form x^2+ny^2