Running an installed app already paid for on an account not logged in
You do not need to remain logged in to Mac App Store to use an app installed from there.

You may be asked for your Apple ID password which was used to purchase the app when installing an update.