LDEV-2449 use sso cookie name to store shared session rather than webapp cookie name, due to possibility in jboss5 of multiple webapp cookies with different paths
LDEV-2445 referencing subject of 'fetch' in the where clause is bad - in one user's case the query resulted in 4 or 5 copies of the subscriptions table being joined together