It would be great if provide a function for authenticating username like ***pv_www_authenticate(realm, passwd, flags [, method])***
Purpose: The purpose behind this is i want to modify username and then authenticate according to credentials saved in DB.