3
it's pretty normal.. dunno why it happens tho, as it can be a number of reasons, but it's doubtful that is what caused you not to be able to login..
i would remove the .htaccess rewrite rule as that may have consequences as a whole under other conditions.
i would start looking for other reasons, turn debug on and see what that throws up.