KEYCLOAK-704 KEYCLOAK-768 Improvements to access code generation