Add backward compatibility shim for basic auth