Added API authentication to regular ACL authentication process
Adjusted API code to reflect new ACL authentication