resolving spring social dependencies problem