Authentication backend written in Python