Fix enough of the php code to get the test data generated.
Fix some of the PHP code around the data access for branches.
Fix the authentication dart html references.
More ui/server fixes to get the system back in a working order