From what I can see, your subscription information is saved in an XML file located on your hard drive:
C:\Users\\Documents\Visual Studio 2012\Settings\Windows Azure Connections.xml
If you restored this file, it would have everything it needs to connect to Azure on your behalf and get the list of storage accounts directly. Once it has the thumbprint information associated with the subscription ID, it connects to the management portal directly using the Management API.