Changed options allowed methods to the actual allowed methods.
Changed test and implemented allow-credentials.
Cleaned up for readability.
Added checking with different authentication.

Needs to actually submit a different authentication
Implemented origin, and test.
Changed meta stuff.
Massive changes, more tests.