add REST resource protected by the basic auth client
update demo with updated j2e-pac4j library
Merge pull request #5 from miremond/rest

add REST resource protected by the basic auth client