Replace flush_user with delete access token due to function removal Add a new test case for if the user is already registered
- Add unittests for client, api and handler Signed-off-by: Negar Fazeli <negar.fazeli@ericsson.com>