Cleanup device token before pushing

Added some basic cleanup of the device token to accept tokens regardless of case or spaces.