fix login style on firefox