Correctly define certain fields as passwords