API authentication now respect application wide login_required setting
Merge pull request #1573 from opf/feature/api-users-show-permissions

API authentication now respects application wide login_required setting