Not sure why, but part of the auth code completely fails without it. Found it in a Stack Overflow answer.