Document data returned along with login.

Pass in current document_id along with login request, then handle JSON
reply that contains identical payload to the 'remote_data' call.