Add basic authentication with the -K option

This requires basic auth to work. The actual -K argument is optional, but
the content of the file it points to is not.