Changed local_account_ok_p to get_local_account_status, which can also return no_account. Helps prevents problems with old cookies that do no longer have a corresponding user_id
- Fixed bug where it tried to sum columns with a count aggregate -- only sum if sum or average- Export empty filter vars, anyway, to allow for null filters.