Consistent boundary conditions for supergravity