Authentication and customer creation using Particle Android SDK

Hello All,
I have been playing around building my own App using the android SDK for Particle Photon. According to the SDK docs, I used AndroidDeviceSetup library to open a setup screen which was successful. After I enter the username/password to create an account, it says “Credentials are invalid”. Although I can login using an existing email which I had created for the device earlier from the Particle Web. I am stuck and clueless how to go ahead about this. Any help much appreciated. Thanks!!