Adding support of rest delegation without UI through username, no keys
Fixing missing nokey
remove debug msg
Merge pull request #3969 from spigad/test1a

resolve conflict (Client makes specific delegation of credentials to the REST)