Fixing authorization for the remote REST/JMS client
(cherry picked from commit 0ae835d6c5217a15a7b6aedb043d77339db945ce)
Clarifying signal operations and minor refactorings
(cherry picked from commit b5a230e1cfc22714e482ec680f384bea0efef06c)