Zabbix 2.4 support. Removed reliance on depreciated auth method.