Error on interactive prompts in non-interactive sessions for kinit()
This PR fixes #838 (closed) by patching gwpy.io.kerberos.kinit
to raise an exception whenever it is about to try and prompt for a username or password in a session that won't allow a response from the user.
I also took an opportunity to clean up the test suite for the containing gwpy.io.kerberos
module.