Testing pbkdf2 authentication in rails