Rename 'pw' hash variable to avoid ambiguity and name clash.