Added tostring method call to setAuth and addAuth