A PHP < 5.3 compatible yet usable authentication framework