upgrade the server side to Grails 2.4.3 and Spring Security REST plugin instead of the BASIC authentication.