Fix user sign-up, authorization, lab-changing to hopefully finally work smoothly