[Bug 888345] Audited code style across the Login codebase

ref: https://bugzilla.mozilla.org/show_bug.cgi?id=888345