3rd party authentication now in place

It doesn't do much, but it's a start.
Quick bugfix to make gunicorn work again