Deny export access of multiple publications for anon users and add test.

#5531 

This PR denies the access for anonymous users from accessing the path to export multiple publications. Only the export of a single publication is allowed for anon. users.
Also added a behat test.