Got it! Thanks for the extra details on the matter.
Could you check inside the logs after the login is successful if there are any errors related to the form/action not being able to be executed?
I will test it out on my end to see if I am able to reproduce this behaviour and what might be the cause.
I will come back with an update as soon as possible!
Kind Regards,
Nik