Don't show unauthorized schedules/jobs in status scheduler.

Fixes #290: Error in bconsole-ACL
Fix possible memory leak.