auth bindings: tried to work around C++ compiler issues