Test mode to bypass authentication, use test_params to set up dummy user