refs #276 & refs #293 - created REST and Angular samples based on RPC
- fix test
- avoid opening session REST logoff