Fix for [CXF-5822]. 

Checks classLoader for null and sets it to PropertiesLoaderUtils.class.getClassLoader() in case.