Add legal_entity to CTA admin to fix bug 1012913

Fix flake8 errors
Silly me not following my own advice.