Ok, the issue was discourse-signatures plugin. Sorry the delay, I was removing plugins one-by-one
discourse-signatures