Add authentication by source subnet

This allows bypassing the htpasswd authentication if you are coming from inside a private network.