Place it at the end of a failed login scene, after the wrong guess has been shown on screen. Build tension first with Sudden Suspense, let the mistake play out, then follow the laugh with Nelson's Ha-Ha for a second laugh in the same edit.