Added ability to disable redirect if WCF is embedded