Fix shift-login for Firefox