Masking login area doesn't work properly with sub folder installation

My site has wordpress installed in a sub-directory /wp/ , this is set by the host. I have changed the login URL in defender to however still works and redirects to
Also setting the redirection URL uses the wordpress root, so that's not accurate either, it redirects to the folder with WP installation (