Password in lib/attributes.php added

getFieldStructure() can handle password realted issues