Some work on authentication.
Preparing for clustering.