More work on authentication processing with spring security.