Failing generate_token.