You say the website is using forms authentication, but your request is using basic authentication credentials:
request.Credentials = new NetworkCredential("username", "password");
You'll need to either switch the website to basic authentication, or perform a POST request against your login page to get the session cookie/token to use in subsequent requests.