Add rough support for liteauth