Minimal registration and login with new API.