Maybe you are using the system function write_pasword_to_tag in order to store the password for later use. If you do that, and use that tag to log in, you have made a neverending loop. Protool will accept it but you will get errors when going to runtime.
You probably have to manually write the passwords into normal string tags.
But I must say that I dont understand what you want to do. If the operator simply pushes a button from the startup screen without having to type a password, then where is the user-based sequrity ?
You could use a keyswitch, observe it with a tag via a PLC input, and use that tag to logon a user. Then you have the key as sequrity.
The logout time is for all users.