TASK KSP-1119: Returning access token with exceptions