Data not syncing even though login seems fine

Ah yes that may be the reason.

Can you try to use the session cookie returned to initialize a new replication with the setCookie method as outlined here with / for the path?