How can I specify inner elements template in custom login page?
See How to manipulate forms in Drupal 8:


  To make changes to the fields in your form, you have to change the specific twig templates. First check which twig templates correspond with the base theme of your Drupal application. It is important that you give new twig templates the same name as the original ones, otherwise your new templates will not be recognized.