Switched to mechanize. This code seems to get the initial page after login, but it's all frames, so cookies will be required.