Add support for OPTIONS, fix null hashes.
Add OPTIONS support.
Make tests work with auth tokens.