Fixed checkFunction() params when only a patron was passed and added a getPasswordPolicy() function to catalog connection.