Try looking in your forum/includes/functions_gallery.php file for this code:
Code:
Content visible to verified customers only.
Right above that, add:
Code:
Content visible to verified customers only.
And that should bypass the password check for admins and moderators.