Added some rudimentary login support to Json.aspx. Ugh.