Added TryGetValue to ProfileViewModel's constructor

When no cookies existed, the keys were not found in the dictionary
causing a runtime error.