Issue:
refactor(cypress): fix payouts not running

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [x] CI/CD

## Description
<!-- Describe your changes in detail -->

- remove logs (again), this prevents exposure of `globalState` in everywhere possible
- refactor(cypress): fix payouts not running
	- set a global variable to check if connector auth exist for a payout as well as payin (payment)
	    - if not, skip `connector create` call eventually skipping all the tests (goes to `pending` state, no payment fails)
      - We put `before` before `beforeEach` just so that the `globalState` is set and eventually, `beforeEach` will look after whether to continue further or not
	- move `payment_methods_enabled` to `commons.js` to avoid it from
	  interfering in payouts (optional change done to keep `connector create` call clean for payouts)
      - This will also enable us to make `connector create` call dynamic, meaning, in future, we can pass connector specific `payment_method` list

- update readme

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->


## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless it is an obvious bug or documentation fix
that will have little conversation).
-->

NIL

## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->

Bank redirects fix raised at https://github.com/juspay/hyperswitch/pull/4903

|Adyen|Bank of America|Bluesnap|Cybersource|
|-|-|-|-|
|![image](https://github.com/juspay/hyperswitch/assets/69745008/1f16684e-1fe2-41df-ae33-97fd1d104f77)|![image](https://github.com/juspay/hyperswitch/assets/69745008/4eaf367a-d3a3-415d-b5c2-92a4668c109a)|![image](https://github.com/juspay/hyperswitch/assets/69745008/906ab3fa-bf09-4a1c-8629-c0699d12aee6)|![image](https://github.com/juspay/hyperswitch/assets/69745008/1121ad4f-ed49-497c-bcbe-ad7b1d5389da)|
|NMI|PayPal|Stripe|Trustpay|
|![image](https://github.com/juspay/hyperswitch/assets/69745008/4036b786-d60d-4c7f-ab0b-110d7492e40b)|![image](https://github.com/juspay/hyperswitch/assets/69745008/3df5cfb8-c628-4a5b-bae7-2fb39563c99b)|![image](https://github.com/juspay/hyperswitch/assets/69745008/92ca2ac9-5fea-45c7-b93d-0a8d1fd6579e)|![image](https://github.com/juspay/hyperswitch/assets/69745008/66e417e8-d276-4df7-83e4-724f50d7a8cd)|

Adyen started refusing payment for sending too many requests.

After `beforeEach` refactoring:

<img width="543" alt="image" src="https://github.com/juspay/hyperswitch/assets/69745008/b1214307-fa62-4bbd-8d46-6475609cbdf6">

Doc refs:
- https://filiphric.com/cypress-basics-before-beforeeach-after-aftereach
- https://docs.cypress.io/guides/references/best-practices
- https://medium.com/software-testing-pipeline/cypress-test-hooks-570a67ebb31

[Routing fails as we are supposed to pass JWT Token and not API Key which results in it throwing `4XX` searching for `Authorization` parameter]

_____

> [!IMPORTANT]
> This PR only deals with the following:
> - Connector create for Payments
> - Payouts and skipping payout tests
> - Stripe bank redirects redirection
>
> And hence, it should not affect other flows. Any failures that occurred other than these are not because of this change. Those failures are to be handled separately

_____

## Checklist
<!-- Put an `x` in the boxes that apply -->

- [ ] I formatted the code `cargo +nightly fmt --all`
- [ ] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible


Resolution:
<think>
PR Context:
- Title: fix(cypress): address cypress skipping tests
- Merged: 2024-06-20T10:12:12Z
- Files changed: 17 files
- Commits: 15 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [x] CI/CD

## Description
<!-- Describe your changes in detail -->

This PR fixes error introduced in commit [`24217d1` (#4904)](https://github.com/juspay/hyperswitch/pull/4904/commits/24217d132f87c31ecb2a44ac6340425d26750a5f) of PR https://github.com/juspay/hyperswitch/pull/4904 which led to tests getting s
</think>

To implement this, you'll need to modify:


(No detailed commit information available)