Implemented a function to authenticate a user using iRODS (via iinit).
For use in gh-4.