Update community authentication to use encrypted parameters for redirection