Rewrote login_window component to conform Netzke 0.8 conventions.