fix regression with reading passwords