Handle non-root preflight OPTIONS.

Added a test for it as well.