Fixes for the htpasswd auth plugin