Yes that should work.
Have you checked out the TodoLite example? If you login to device A and add documents, then login to device B those docs will be sync’d down to device B.
Can you take a look and compare what you are doing differently to try to isolate the issue?