Fixed WCF binding and login issues.