Override SHA1 encryption in http://rubygems.org/gems/sorcery

* Override SHA1 encryption [used by Sorcery](https://github.com/NoamB/sorcery/blob/master/lib/sorcery/crypto_providers/sha1.rb) to
make Sorcery compatible with Devise
* This has been moved here out of our fork of
sorcery (https://github.com/amaabca/sorcery/commit/e5efc6f267d915bdd6b9b10512a211cdc86b9f4d).
The code itself is blatantly stolen from @RyanoonRails