add REST resource protected by the basic auth client