Fixed sql_query example in cosmosim.rst. Login to the server now knows if the user is running astroquery through an interactive session or through a script. Raw input from the user is no longer handled if run from a script.