Remove redundant lines in auth.py
Merge pull request #2374 from salty-horse/patch-1

Remove redundant lines in auth.py. Fixes #2374.