Fix some of the urls on the social connect settings for subdir installations. Closes #1513.