Update opauth.php

Moved nickname check outside the if block to avoid errors on Null nickname field