Nevermind, I resolved partially the problem. I mistaked the code for redirect, now it works :D
But the 401 code doesn't work either, but I modified the plugin: if I go to http://www.site.net/wp-login.php now it throws error 404.
Thanks to all and I'm really sorry for messing the topic...