reload htpasswd file before password check
Refactored static permission handling and added tests for it