Reindent UsercreateTemplate and UserloginTemplate

A perceptive reviewer will note several issues with this code,
including at least one outright bug. I intend to fix them in
subsequent commit; I tried to avoid any non-whitespace changes
here to make it at all possible to review this.

This file has several lines longer than the phpcs limit of
100 characters, and several cases of the <?php } ?> pattern
phpcs complains about. I don't think it makes sense to enforce
these rules here; the code would IMO become less readable.

Change-Id: I95ab0f644fd5963878018f483f22e650867b5135
Merge "Reindent UsercreateTemplate and UserloginTemplate"