Add methods to generate a login URL for an app