I assume that your script is an authentication driver, as the ssh one. In
that case you can let your users use oneuser login, and then use the output
token as the password login screen.
If you want to create and use a login through the login screen you need to
produce a custom CloudAuth module, look for CloudAuth*.rb files for
examples.