implement auth.py
Merge branch 'api-auth' of https://github.com/vaytess/pyatta into api-auth