fixed tests, resource_params without strong params and error when accessing displayqr when not logged in