Error when creating users / groups

Unable to create or modify users or groups.

Logs showed 401 unauthorized errors.

Had to turn on API authentication in order to allow user / group creation
and modification via Hammer CLI.

Web interface still will not allow users / groups to be created or modified.

Foreman-debug upload available here

Any help would be greatly appreciated.