PEP8 and fixed auth test