If that's possible then some javascript in the (new) login webpage will now have the user location.
You can then pass the user location to your b4a code using WebViewExtras, you'd use the addJavascriptInterface method to add a javascript interface to your b4a WebView.
Now your login webpage can use javascript to communicate with your b4a code and pass the user location.