use authentication_keys in flash message (fix #3201)

I make a new PR for that