Fixed sha1 auth finalization
Merge pull request #19 from dotdoom/sha1-auth-finish-fix

Fixed sha1 auth finalization