Achieving a single sign-on by creating a virtual user with custom roles and rights