Minor credentials bugfix