Update password field to use correct type