Add methods to get current username and password from automation context