Define('WP_SITEURL','https://your-site-url'); Define('WP_HOME','https://your-site-url');
The above code must get added to your wp-config.php File
It should fix the redirecting login issue.
I left in inside my file after using it and all seemed fine. So no harm in just keeping it.