CMS-3751 Remove jersey specific code in admin. Fixed some tests.