Fix wrong variable being used
Fix StudyImpl::equals()/hashCode()

For some reason, neither @EqualsAndHashCode nor @ToString would detect
the name property. Not sure what's going on here. Replace with manual
implementation.

Fixes StudiesResourceServiceTests::testGetStudySet()
Fix User::canPerform() wrt unsupported resources