Added edit auth_event to api with its test.