Fix regression that caused unauthenticated publishing attempts
Merge branch '3.2.x' into dev