Lifting cusp forms to Maass forms with an application to partitions