If you have the captcha enabled on the login page and that is preventing you from logging in then you would have to update the database:
SET KeyValue = 'False'
WHERE KeyName = 'RequireCaptchaOnLogin'
then you would need to touch Web.config file or recycle the app pool to clear the SiteSettings from cache
Hope that helps,