Fixed the console application, because of an issue with SecurityServiceProvider