As folks said above, your Microsoft account password should be cached locally and you should be able to use it to log in to Windows 8, without any problems, even when you don't have an active Internet connection. The Internet connection should be mandatory only when you first add the Microsoft account to Windows 8 and use it for the first time to log in.