CMS-2608 Serve public resources from portal.
Fixed unit test.