Too many redirect via Web Interface


We been running this great software for years, with not much trouble in docker asseable via HTTPS NGINX proxy. But somehow from today (with no update) I got this:


And too many redirect, when i access directlty in port 5000 i can see its asking now for user/password.

So i ugraded the docker image to 1.6.1 and crate accoutn via CLI and I see I can not disable Access Control now. Fine. but nginx still wont let me login or show the login page?

Any ideas?

Do we need to set hostname in octoprint so it set right cookie?