Made sure to check clientId for NaN
Api secrets for user/client are no longer created on register.

* Removed the creation of the api_secret for the user/client on register.
* Removed trigger for inserting both user info and api info.
Created/updated the secret key on login for the user/client combination.

* Each new login now re-creates the secret key for that client and username combination. Meaning that each
login will invalidate the previous login token.
* Updated routes to match changes.
Some updates to db example data and the public test page.
Updated test