Factorize snmp auth