Local development login page redirects to production environment in most of the cases because your local developments database has the home url of your production environment. There is no need to meddle with the database, all you need to do is to redefine your site URL in your local developments
Add the following lines to the top of your
functions.php file in the local developments theme. Be sure to replace
http://www.localdevelopment.dev with your local developments url.