Get auth token from JSON request and multiple auth mechanisms.

Added getting authentication token from JSON request data. Add auth_required decorator that allows multiple auth mechanisms - #62