login with basic auth gives 403 FORBIDDEN

When visiting the url, I get a basic-auth prompt, fill in the exact same username and password as typed in the code. And I successfully login. When trying the same with unity I get the following error:

You are trying to load data from a www stream which had the following error when downloading.

I know I’m on the right track because before I would get 401 authorization required.
The server is an ubuntu 12.04 with apache2.

void LoginUser(string enteredUsername, string enteredPassword){
		encryptedPassword = md5(enteredPassword);

		WWWForm form = new WWWForm();
		form.AddField("our_username", enteredUsername);
        form.AddField("our_password", encryptedPassword);
        rawData = form.data;

	    Hashtable header = new Hashtable();
        header = form.headers;

	    header.Add("Authorization", "Basic " + System.Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes("username:password")));
	    www = new WWW(url, rawData, header);

		// Application.LoadLevel("Game");
	IEnumerator WaitForRequest(WWW www){
        yield return www;
        // check for errors
        if (www.error == null){
            Debug.Log("WWW Ok!: " + www.text);
        } else {
            Debug.Log("WWW Error: "+ www.error);

Wikipedia tells me that the headers need to have colons after the names of each header. Try that and see if it solves the problem. (And try using something like Poster for Firefox. It’ll let you create requests and POST them, which is a pretty easy way to figure out exactly what needs to be sent. Once you have a successful POST then you can implement the same in Unity.)