Added preemptive basic auth