This fixes the `password should be at least 6 characters` issue when running tests.
Some PEP-8 fixes.