I think I managed to fix it. I made a copy of page-parts/login-form.php to my child theme. Then on line 29 I removed ‘wp-login.php’ from “echo wp_login_url( apply_filters( ‘kleo_modal_login_redirect’, home_url(‘wp-login’) ) );”
Seems to be working fine now!