Use correct role to retrieve domain of the cookie