#561 Moved the whitelisting process to a different thread so it does not timeout and users can be correctly whitelisted.