Made cookie authentication from JS work