Change default value for Security::$hasType to 'sha1'.

Security::hash() defaulted to 'sha1' anyway.