Fix the VPN provider type for L2TP/IPsec certificate-based VPNs.
Fix the VPN provider type for L2TP/IPsec certificate-based VPNs.

This CL fixes a regression in the code for determining the VPN provider
type for a newly created L2TP/IPsec certificate-based VPN by relying on
the temporary connection data kept in NetworkLibraryImplBase.

BUG=chromium-os:24578
TEST=Tested L2TP/IPsec VPN with user certificate and pre-shared key
as follows:
1. Create a new VPN and it connects successfully.
2. Disconnect the connected VPN and then reconnect successfully.
3. Verify that all information shown in the VPN dialog is correct.
4. Create a new VPN with incorrect server hostname or credentials, and
   verify that it fails to connect and gives the correct error message.

Review URL: http://codereview.chromium.org/9052004

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@116008 0039d316-1c4b-4281-b951-d872f2087c98

mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,keishi/chromium,Just-D/chromium-1,littlstar/chromium.src,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,Just-D/chromium-1,robclark/chromium,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,M4sse/chromium.src,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,Fireblend/chromium-crosswalk,dushu1203/chromium.src,zcbenz/cefode-chromium,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,ltilve/chromium,bright-sparks/chromium-spacewalk,ltilve/chromium,patrickm/chromium.src,M4sse/chromium.src,timopulkkinen/BubbleFish,M4sse/chromium.src,axinging/chromium-crosswalk,dushu1203/chromium.src,ltilve/chromium,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,keishi/chromium,rogerwang/chromium,dushu1203/chromium.src,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,ondra-novak/chromium.src,anirudhSK/chromium,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,jaruba/chromium.src,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,dednal/chromium.src,Pluto-tv/chromium-crosswalk,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,keishi/chromium,Jonekee/chromium.src,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,rogerwang/chromium,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,hujiajie/pa-chromium,anirudhSK/chromium,Jonekee/chromium.src,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,robclark/chromium,timopulkkinen/BubbleFish,Jonekee/chromium.src,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,robclark/chromium,anirudhSK/chromium,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,dushu1203/chromium.src,dushu1203/chromium.src,robclark/chromium,robclark/chromium,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,littlstar/chromium.src,axinging/chromium-crosswalk,keishi/chromium,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,keishi/chromium,keishi/chromium,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,anirudhSK/chromium,Jonekee/chromium.src,Jonekee/chromium.src,timopulkkinen/BubbleFish,dednal/chromium.src,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,dednal/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,dednal/chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,anirudhSK/chromium,krieger-od/nwjs_chromium.src,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,hujiajie/pa-chromium,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,ltilve/chromium,hgl888/chromium-crosswalk,markYoungH/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,dednal/chromium.src,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,anirudhSK/chromium,M4sse/chromium.src,M4sse/chromium.src,ltilve/chromium,robclark/chromium,patrickm/chromium.src,rogerwang/chromium,markYoungH/chromium.src,hujiajie/pa-chromium,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,robclark/chromium,dednal/chromium.src,rogerwang/chromium,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,Fireblend/chromium-crosswalk,M4sse/chromium.src,Chilledheart/chromium,hgl888/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,keishi/chromium,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,pozdnyakov/chromium-crosswalk,rogerwang/chromium,robclark/chromium,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,hujiajie/pa-chromium,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,Just-D/chromium-1,dushu1203/chromium.src,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,rogerwang/chromium,axinging/chromium-crosswalk,axinging/chromium-crosswalk,rogerwang/chromium,anirudhSK/chromium,Just-D/chromium-1,anirudhSK/chromium,ondra-novak/chromium.src,nacl-webkit/chrome_deps,ltilve/chromium,M4sse/chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,Just-D/chromium-1,markYoungH/chromium.src,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,littlstar/chromium.src,jaruba/chromium.src,timopulkkinen/BubbleFish,dushu1203/chromium.src,TheTypoMaster/chromium-crosswalk,rogerwang/chromium,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,nacl-webkit/chrome_deps,jaruba/chromium.src,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,patrickm/chromium.src,axinging/chromium-crosswalk,littlstar/chromium.src,robclark/chromium,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,patrickm/chromium.src,littlstar/chromium.src,zcbenz/cefode-chromium,hgl888/chromium-crosswalk,ltilve/chromium,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,anirudhSK/chromium,krieger-od/nwjs_chromium.src,ltilve/chromium,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,rogerwang/chromium,markYoungH/chromium.src,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,hujiajie/pa-chromium,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,keishi/chromium,Chilledheart/chromium,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,Jonekee/chromium.src,Just-D/chromium-1,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,dednal/chromium.src,robclark/chromium,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,littlstar/chromium.src,zcbenz/cefode-chromium,Chilledheart/chromium,jaruba/chromium.src,ltilve/chromium,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,krieger-od/nwjs_chromium.src,jaruba/chromium.src,hujiajie/pa-chromium,anirudhSK/chromium,bright-sparks/chromium-spacewalk,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,ondra-novak/chromium.src,markYoungH/chromium.src,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,dednal/chromium.src,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,Jonekee/chromium.src,patrickm/chromium.src,M4sse/chromium.src,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,Jonekee/chromium.src,ondra-novak/chromium.src,nacl-webkit/chrome_deps,markYoungH/chromium.src,hujiajie/pa-chromium,dushu1203/chromium.src,fujunwei/chromium-crosswalk,jaruba/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk,keishi/chromium,keishi/chromium,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,patrickm/chromium.src,ChromiumWebApps/chromium,dushu1203/chromium.src