added capture of credentials to better handle scenarios that delete them from login window