Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Right now, modifying the basic auth credentials file (adding a user, for instance) requires a server restart.
This is because of caching at the credentials file level.
Describe the solution you'd like
Following the dicussion on a previous PR, we propose to add the last modified time of the credentials file to the cache key for the credentials file and the users' data both.
Describe alternatives you've considered
If caching of the credentials file seems unnecessary (as was discussed in the above PR), it may be removed without breaking this feature.
Caching of the users' data has a real impact and should not be removed.