Dead simple password handling in Python