SP credentils fix