Hello, I am currently working on setting up Gallery3 to be able to authenticate users using LDAP and local Gallery3 account fallback. I have this working on the main site, but the REST module seems to be using its own authentication system that bypasses the PAM module I have installed. I need the REST module to use the PAM module for authentication for users with smartphones, but I have no clue where to even begin. Is this possible?