Not working

Hi, I tried check basic authenication. I have given wrong password also. Still it gives me successful message.

My requirement is, I have a portal, in which I want to do authentication.

Can you please explain how this check_basicauth.pl is working?