Setup needed. Open
gallery/config.php on the server and set UPLOAD_PASSWORD and ADMIN_PASSWORD (they must be different). The gallery stays locked until then.