Changed local strategy. Applying sha1 encription to passwords