Fixed Bad password login not timing out

Address #468