Did My Computer RESET (via Disconneting Bat.) ??
In my experience with the computers, the passcode does not reset when the computer has been reset, it is probably stored somewhere that is not affected by the computer reset. But if you had your battery disconnected overnight then you definately rest the computer