Session.cs need to change from
var data = string.Format("email={0}&password={1}", Uri.EscapeDataString(email), Uri.EscapeDataString(password));
to
var data = string.Format("email={0}&password={1}&webrequest=true", Uri.EscapeDataString(email), Uri.EscapeDataString(password));
Something else is still not working on GetCourseService returning 401, I can't figure that out. It would be great if you can help.