HTTP Authentication / APIs

- add sign in, sign out, registration API
- enable http authentication through client
- add authentication_token attr to user model