I have two applications in my Crowd dashboard.
One called 'crowd' one called 'google-apps'.

When hitting http://crowd-test.mysite.com/crowd/rest/admin/latest/sessions/user?search=&directoryId= with credentails for my application called 'crowd' I get:
HTTP Status 401 – Unauthorized
Type Status Report
Message Unable to authenticate user as there are no directories mapped to the application google-apps
Description The request has not been applied because it lacks valid authentication credentials for the target resource.
Wondering how I can specify my 'crowd' Application as the one to hit instead.
Thanks