Make basic auth actually work.