Fixed proper passing SecurityContext from REST layer to CDI layer.