Spring Security Custom Authentication Provider Java Config