A Perron theorem for matrices with negative entries and applications to Coxeter groups