Tries to authenticates user if token passed in request.