Fixed regex for profile url to include profile.php?id=... formats

This is a bug fix for the profile URLs that are parsed during membership approval.

# Change log
- The profile URL now correctly parses URLs with the _profile.php?id=..._ format. Previously only _named_ URLs were taken into account.