Fixed ServiceLoader duplicate load issue when application classloader is different from Hazelcast classloader.

Test fixes.