Changed basic auth header encoding/decoding to UTF8