Two-Baryon Systems with Twisted Boundary Conditions