Using component abstractions for dependency injection.

removed debug log messages

Picked up latest changes for SecureSocial.

The SecureSocial repository made changes that were not backward
compatible. This commit fixes the compiler errors.