I want to authenticate user with username only. To achieve this, I am still using UsernamePasswordAuthenticationTokenbut by also passing added authorities. Her
UsernamePasswordAuthenticationToken