Added flag to fix password login.