tweak basic auth header helper