apache mod_mysql_auth alternative in nginx