Login fix for Firefox.