EAP Sim code should use PW_EAP_* definitions instead of ATTRIBUTE_EAP_SIM_*
Search for the correct alternative attributes...