Properly check for logged-in status
Merge pull request #1288 from OpenTreeMap/topic/fix-buttons-for-resource

Properly check for logged-in status