Repaired adding credentials when post request