Quantum spherical functions and Macdonald polynomials, beyond the trivial character