Keep in mind by adding that gate, you're no longer adhering to the guidelines of Show HN. I advise you to read through them before submitting more stories: https://news.ycombinator.com/showhn.html
It's sort of in-between. You're right that the rules don't exclude projects that require sign-in to try out. But users don't like it, and it's not encouraged. It's particularly repelling to readers if they click on a Show HN title only to go to a page that contains nothing but a call to sign up.