Fix remote presence subscription and authorization

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>