SSO redirect failing with "HTTP ERROR 500" and "Failed to bind" messages.