Older versions of Spring Social will not have the SocialConfigurerAdapter so making social autoconfig conditional on that class makes sense (since it all extends from it). Fixes gh-986