DSKCLI-272 : Fix response status check for user authentication