Handle SSL in register and credentials providers