error 'Invalid security or form key. Please refresh the page' displays after login to admin backend
Then refresh the page, the msg disappear.
This is the default message that came from the Magento system. When the admin session time is over. there is no bug related to this message.
If you get the solution then please, "Kudos" and "Accept as Solution" for Token of Appreciation