This may only affect the demo app
The Android library will throw an Exception if Authorization fails (401) and if there is no WWW-Authenticate header set.
Example:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST http://controller-aerogear.rhcer-demo/auth/login -d '
'