I have tried using the "Re-Login" script to control access to particular layouts.
Re-Login [Account Name: "James"]
Go to Layout ["Complaint" (Patient)]
If the user enters "cancel" on the native filemaker pop-up, the following dialog box pops up, "Re-login has been canceled. Do you wish to continue with this script?" If the user hits continue, then the presumed restricted layout is entered and the user never had to enter the password.