Added proper parsing of connection string in appsettings.