renamed func to GetBasicAuth (because of http/Request.SetBasicAuth), switched to strings instead of bytes again, fixed index out of range panic