[SecurityBundle] error helper added symfony/symfony#11147

Added helper that extracts error and last username.