The solution I found was that I had FilterRegistrationBean in my config BUT had not registered a filter.
If you are not using a filter, just remove FilterRegistrationBean