Secure REST with nonce works only when not logged

Secure REST with nonce works only when not logged