Fix a copy-paste error in the "only-published" API authorization class.
Merge pull request #216 from birkenfeld/fix-api-authorization

Fix a copy-paste error in the "only-published" API authorization class.