I copied a live site built by a previous developer to my local MAMP environment, and discovered that trying to use /user/login redirected me to the live site. I discovered that .htaccess had numerous dreaded 301 redirects. So, I changed the .htaccess to a clean one, cleared cache, cleared history, rebooted MAMP, tried a clean browser. I think I've now cleared the 301 redirects to regular pages, but user/login still goes to the live site.
Created fresh local install with a clean .htaccess; clear cache, reboot MAMP, etc, still can't login to local.
Is there a backend way to login to drupal? Through drush?
Could that demon-spawn developer have set something else that prevents local login?