Given a userid and a hostname, return whether or not the user is authorized to login provided that the appropriate credentials are presented.
The HTTP response code will always be 200 for a successful query whether or not access is permitted. The document body will be text only, and contain one of the following:
/cubit_api/1/can_login
This method does not require authentication.
3