Adding logger for invalid API key and network issues

See [AGPUSH-207](https://issues.jboss.org/browse/AGPUSH-207) as well