fixes #2772 cloning locations and organizations is broken
(cherry picked from commit 532d961537f8cd639a4b35f35ed4e6210a3ba83c)
fixes #2782 - LDAP password overwritten as blank
(cherry picked from commit 6a44fab1a948116e93b4690996ae92cfc5d8db03)
fixes #2791 - ptable api was missing :layout and :os_family
(cherry picked from commit 774ed2d2ac6af23369eafa7658b0a446f3b63adf)