Validate the user name used by DoubleRedirectJob

So that invalid user names (IP address, invalid characters, etc.)
are still rejected.

This also makes the usage of User::newFromName() consistent with
the ones used by other scripts that uses their own user name.

Change-Id: I0dd28e53dc30433691b88d80b6655e3171d0cdfd