LF-10454: Fixing subdomain issue with social auth

https://livefyre.atlassian.net/browse/LF-10454
Updating unit tests
Merge pull request #40 from Livefyre/i_10454

LF-10454: Fixing subdomain issue with social auth