It doesn't work at all and I don't understand why :/ I deleted the htaccess rewrite option of better wp security too but nothing changes.
I undo the modification of the plugin, I put the code at the beginning of the document and just before wordpress rewrite (after better wp security code), I deleted the code of better wp security...
Nothing changes and I always see the login screen at http://www.site.net/wp-login.php
I'm sure the code works, or I've some conflicts in the site or I'm doing something wrong.