Authentication required popup with crosswalk

I am using crosswalk on lower android versions , and have drupal in backend.

rest endpoint :- xyz.com/api/login

Whenever , login endpoint is called and if user has entered wrong credentials the system level alert/window alert is opened asking for username and password.

Response is correct if credentials are right !

With normal ionic app (without crosswalk) ,response is received correctly even when credentials are wrong.

I don’t wish to change server response since if normal app can receive correct response , then crosswalk app should also do the same.

Any workaround ?