Applies the auth filter to /sensing_data/query
Returns the last n entities rather than the first n ones.
Merge branch 'feature/change_query_data_order' into develop