Add UserPass attribute encoding.