reenabled optional passwords generation