remove obsolete structure
complete overhaul - enables basic/digest/agsecurity/none options