Fixed bug to set password