KEYCLOAK-147: Create onoffswitch directive and use it where applicable.