add Bearer authentication into REST module
Merge pull request #1072 from dizews/patch-1

add Bearer authentication into REST module