Updated to be in line with current standards and use basic auth