A basic PHP login and authentication class.