change md5 to sha1
Fix auth function
Change typo