Moving login buttons into template.

The login page looks terrible, and it won't get better with login buttons in code.