JupyterLab shows a login or token page instead of opening

Edited

This is a known token-encoding quirk. Copy the link from the console's Open JupyterLab button (not your browser's address bar), find the ?token= part, and paste everything after it into the Password or token field. Tokens can change after an instance is recreated.