edit_apn_spec fixed to work with authentication