Fixes #143 Unable to modify groups when running the backend api with gunicorn