Added exception for 127.0.0.1 in basic auth