Fix issue where passwordstatus might not be set.