Credentials activity stub and other improvements.