Update auth.php

I had my admin password with sha1 algorithm encrypted in db but such functionality wasn't implemented in auth.php so I modified the basic function . 
So in order to have authentication with encrypted passwords just define an ENCRYPTION variable which will hold the algorithm's name .