Try a different way of storing user credentials. Hopefully it fixes the replication.