Replication: added new stats counting full and partial resynchronizations.
Return a specific NOAUTH error if authentication is required.