Move native sha1 implementation from auths to toplevel, only used for non-TLS builds