Moved DI description of authentication handlers into security context.