Fixing broken test.
Re-instating security for publishing service.
Temporary.