a simple auth lib by python, can be use for wsgi pipeline and other