#275 cjdlua Auth support

It requires another library, but this is working now. Next pull request will involve some sort of structural reorganization, no guarantee of new features.