[ALLI-2555] Increased maximum record ID length to 2048 in resource table.
[ALLI-2523] Fixed login redirection for record ID's with characters that need url-encoding.