add support for auth
update example to add support for auth
convert binaries to strings for auth params