This is already in our TODO list :thumbsup: Currently, protected pages use the native browser UI. We will add this feature in X3.25, after we release X3.24 in a couple of weeks.
This is not only about changing the "login form", but also requires showing the login form before loading the page, and verifying login via AJAX.