NoamB/sorcery — pull request #133 by kristiankristensen (2011-11-01 22:56:03+00:00)
Title: Setting join token and stretches value for SHA1 encryption method

Ref issue #67

When using the SHA1 encryption method creating users and authenticating in one server run works. But restarting the server (or console) makes authentication fail. Problem is that the credential check fails, because the join token and stretches value aren't set on the encryption provider. This is done in this commit.

Added a test to the SHA1 spec section as well, that tests a "real" user signup using the salt and a join token set.