Adding authentication bean to spring context file