I think it is probably due to the login redirect module and/or the path module. Is there a way to disable modules by changing a flag in the database? I looked at the schema but I don't see anything obvious such as a modules table. Any other suggestions on how I can recover this?
Try renaming the modules directory to shmodules. :)