Revert "PEP8 cleanup"

This reverts commit 8a60b58d516395fca5590eed8a525dbd4a62d392.
Revert "Avoid generating usernames containing whitespaces"

This reverts commit 49943aea6691ac47203cbc71d90386100dbb31ff.