Move the setting of the rootScope whistleblower_id value up.

This way we avoid the race condition that the variable is not set.