Also, I don't think there's a need to use "#" as a replacement for a whitespace. Just do "%i %i %i" directly. They're all integers, so there shouldn't be any problems.
PS: the max AuthId length is 64, not 35. You probably don't need 33 for a buffer that holds a single integer, the integer itself can't even be that big.