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