Update base.py

Made changes to check_auth(). Removed the line which overwrote the definition of hashed