Trash page doesn't know I'm logged in

E.g. demo.ckan.org/ckan-admin/trash shows 'login / register' links. See image. I am logged in as a sysadmin (of course, otherwise I couldn't even see the page).

![ckan-admin-trash](https://f.cloud.github.com/assets/1260290/2259260/5fca0ea2-9e33-11e3-986d-b9457bdcf65a.png)