Fix authentication layout.

* Fix overdraw.
* Add license header.
* Rename to proper style.
* Use proper layout.