Change primary identifier and implement toy raven auth.
Merge branch 'raven'