Support for XHR login
Add request argument for RequestContext

See: mitsuhiko/flask@097353695e3178a38403b204ae4889c8a32bf997
Add OPTIONS implicitly like flask does