This commit adds the possibility to configure the AuthenticationFailureHandler of the SessionManagementFilter. Fixes gh-3794