Fixing bugs in the Password field