fixed ninject config for security module so wpf app can run again.