Hacked out the ckan.auth.profile check to work with CKAN2 and still use publisher mode.