Tests which unsuccessfully try to get a protected resource.