Update password.go

Loop is equivalent.