[SECURITY-813] Enhance the login module so it can also make use of the delegated credential.