We’ve experienced the same problems, but figured it was a problem with our server config so did not submit a Keycloak bug report yet.  Unfortunately have not found any workaround yet.