When you say it "logs in," what account is it using? I'm guessing it's an environment variable when installing the container for the user to specify their actual account?
The http://plex.baconopolis.net/latest.php script runs on my server and has my personal plex authentication credentials configured, which means the end users never have to enter their own credentials in their docker config variables.