Refactor for the access token request along with the unit test.