Added options for basic auth