This has happened to me a few times after making what I thought were minor changes. Anyway, I've been able to get back in by poking around in the MySQL database -resetting the password there and logging in again. I don't remember where in the database (sorry).