fix bug 1050971 - Ensure login widget stays open for keyboard

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