{% requireLogin %} not returning to original page
I may be missing something here, but you probably just want to remove the postLoginRedirect setting from the config?
You could also try adding {{ redirectInput(craft.app.user.returnUrl) }} to the form.
craft.app.user.returnUrl should return the URL that triggered the login.