How to over write login page template

If it’s a recent version, then see the solution posted here: SilverStripe 4.7 Custom login page not working