Login can now use sha1 algorithm.