Configuring portal authentication