Just curious why you need to compare the Guest account username&password with third party database ?
In IC2 Captive portal Guest Account Management page, you can actually download the users account as CSV format and this allow you to compare against with third party database.