aklog: Fix overflows in auth_to_path