cloudprint.py: Log when get_rest() changes token
xmpp.py: Refactor xmpp failure into get_elem()