update sample to allow for no password accounts to set password