Simple file based Authentication in Python