Instead of passing in a package login which is specific to IMS allow passing in an array of logins to create.
The array needs to support passing the username, password and (optionally) roles.
Database logins need to be run after post-deploy so that a user could be assigned custom database roles.