buggy but works with jenkins authToken user