pep8 everything, fix MC authentication