Re-adding the else clause in the verify_cors method.

Also updated the call to verify_cors to specify the origin that was sent
in the request.