reuse magic cookie, add real Go errors