I found the fix myself. Apparently, this is caused by having an IP instead of a * in the site setup. I put the * and now it works.