Fixed encoding issue after spring-security integration