Enable token authentication for auth json requests.
Add attributes for current user in json object after login.