Pātuhitia tēnei: Dirichlet series and automorphic forms