allow authorization changes; fix enum marshalling