Fix anonymous registration