ApiServer: Log a better message if api access fails and debug it

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>